//Page allocator
//$Id: alloc_page.h 568 2010-10-25 15:41:07Z Oleg.Bulychov $
#pragma once
 
//__________________________________________________________________________________
//__________________________________________________________________________________
//__________________________________________________________________________________
class page_allocator
{
public:
    static bool construct(int nMaxThreads, size_t mb) NO_THROW_();
    static void destruct() NO_THROW_();
//.............................................................................
    static void* Alloc(int nRank) NO_THROW_();
//.............................................................................
    static void Free(int nRank, void* ptr) NO_THROW_();
//.............................................................................
};
//__________________________________________________________________________________

//EOF!
